Release 10.1A: OpenEdge Development:
Progress 4GL Reference


MAX-CHARS attribute

The maximum number of characters an editor or combo-box widget can hold.

Data type: INTEGER

Access: Readable/Writeable

Applies to: COMBO-BOX widget, EDITOR widget

For editor widgets, you can set this attribute only before the widget is realized. In Windows, the maximum value of MAX-CHARS is approximately 20K for the regular editor and over 64K for the large editor.

For SIMPLE and DROP-DOWN combo-box widgets, you can set this attribute before or after the widget is realized. If the value of MAX-CHARS for a combo-box widget is zero or the Unknown value (?), the default value is 255 characters. This attribute is ignored for DROP-DOWN-LIST combo-box widgets.

Note: In character interfaces, editors can grow until Progress runs out of system resources.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095